import { request } from './index'

export const login = (params)=>{
  return request('post', '/user/loginByMini', params)
}
export const getUserInfo = ()=>{
  return request('post', '/user/getUserInfo', {})
}